Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数学公式识别问题 #285

Closed
652036 opened this issue Apr 15, 2024 · 7 comments
Closed

数学公式识别问题 #285

652036 opened this issue Apr 15, 2024 · 7 comments

Comments

@652036
Copy link

652036 commented Apr 15, 2024

数学部分问题一些公式预览不出来

49b0df7811804eae1b670ab4a2914dbe
大佬能优化一下吗

@652036 652036 changed the title 数学公式 数学公式识别问题 Apr 15, 2024
@Dooy
Copy link
Owner

Dooy commented Apr 16, 2024

后面看看 如何优化下
能否把这段贴出来 ?

@652036
Copy link
Author

652036 commented Apr 16, 2024

1a00e78df4b0303bb6bd8b7ee5448736
a9b86d42a149e268952ae9cc77986384



lim


x

+






i
n
x


x
e

+
1

@652036
Copy link
Author

652036 commented Apr 16, 2024

要求解这个极限:

[
\lim_{x \to +\infty} (\ln{x} - \frac{x}{e} + 1)
]

我们可以直接分析每一项的行为。随着$x$趋向于无穷大:

  • $\ln{x}$增长无界,但是增长速度慢于线性函数。
  • $-\frac{x}{e}$项也趋向于无穷大,且由于它是$x$的线性函数,其增长速度快于$\ln{x}$。
  • 常数项$+1$对极限的影响可以忽略。

因此,整个表达式的行为主要由$-\frac{x}{e}$这一项决定,它导致整个表达式趋向于负无穷大。所以,这个极限的结果是:

[
-\infty
]
有时候这个公式能显示有时候就显示不了
image

@652036
Copy link
Author

652036 commented Apr 17, 2024

后面看看 如何优化下 能否把这段贴出来 ?

为了计算极限 (\lim_{x \to -\infty} \frac{\sqrt{4x^2 - 4x + 5} - 2x}{x}),我们首先观察根号内的表达式 (\sqrt{4x^2 - 4x + 5})。

当 (x) 趋向负无穷时,(4x^2) 是主导项。我们可以通过因式分解 (4x^2) 来简化根号内的表达式:

[
\sqrt{4x^2 - 4x + 5} = \sqrt{4x^2(1 - \frac{1}{x} + \frac{5}{4x^2})} = 2|x|\sqrt{1 - \frac{1}{x} + \frac{5}{4x^2}}
]

因为 (x) 是负数,所以 (|x| = -x),进而有:

[
\sqrt{4x^2 - 4x + 5} = 2(-x)\sqrt{1 - \frac{1}{x} + \frac{5}{4x^2}}
]

我们接下来使用 (1 - \frac{1}{x} + \frac{5}{4x^2}) 的泰勒展开近似:

[
\sqrt{1 - \frac{1}{x} + \frac{5}{4x^2}} \approx 1 - \frac{1}{2x} + \frac{5}{8x^2}
]

所以,

[
\sqrt{4x^2 - 4x + 5} \approx 2(-x)\left(1 - \frac{1}{2x} + \frac{5}{8x^2}\right) = -2x + 1 - \frac{5}{4x}
]

代入原极限公式中,

[
\lim_{x \to -\infty} \frac{\sqrt{4x^2 - 4x + 5} - 2x}{x} = \lim_{x \to -\infty} \frac{-2x + 1 - \frac{5}{4x} - 2x}{x}
]

[
= \lim_{x \to -\infty} \frac{-4x + 1 - \frac{5}{4x}}{x} = \lim_{x \to -\infty} \left(-4 + \frac{1}{x} - \frac{5}{4x^2}\right)
]

因为 (\frac{1}{x}) 和 (\frac{5}{4x^2}) 在 (x) 趋向负无穷时都趋向于 0,所以极限值为:

[
-4
]

这种情况也有整个回答都没有公式预览

@652036
Copy link
Author

652036 commented Apr 17, 2024

他用的好像是LaTeX格式

@Dooy
Copy link
Owner

Dooy commented May 17, 2024

集中这里 解决了 #345

@Dooy Dooy closed this as completed May 20, 2024
@Dooy
Copy link
Owner

Dooy commented May 20, 2024

请更新到 v2.17.7 版本 大部分公式已能正常显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants