You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

二次函数$f(x)=Ax²+Bx+C$恒取正值的条件咨询

Hey there! Let's break down exactly when the quadratic function f(x) = Ax² + Bx + C stays strictly positive for all real values of x—this is a super common question in physics (think quadratic potentials, energy calculations, or error analysis) so I totally get why you're digging into this.

Key Conditions for $f(x) = Ax² + Bx + C > 0$ (For All Real x)

Quadratic functions graph as parabolas, so we can use that visual intuition to nail down the rules:

  • 1. The parabola must open upward
    The coefficient of the squared term has to be positive: A > 0. If A were negative, the parabola would open downward, and it would plummet to negative infinity as x gets very large or very small—so that's an immediate dealbreaker for "always positive."

  • 2. The parabola must never touch or cross the x-axis
    In algebraic terms, this means the quadratic equation Ax² + Bx + C = 0 has no real roots. We check this using the discriminant:
    The discriminant is calculated as Δ = B² - 4AC. For no real roots (and thus no x-intercepts), we need Δ < 0.

    • If Δ = 0, the parabola touches the x-axis at exactly one point (a repeated root), so the function equals zero there—not strictly positive.
    • If Δ > 0, there are two distinct real roots, so the function will be negative between those roots.

A Quick Note on Edge Cases

If A = 0, this isn't a quadratic function anymore—it's linear (f(x) = Bx + C). A linear function can never be positive for all real x (it'll go to ±infinity as x approaches ±infinity). The only exception is if B = 0 too, making it a constant function C—but that's not quadratic, so we don't count it here.

Summary of Strictly Positive Quadratic Conditions

To ensure f(x) = Ax² + Bx + C > 0 for every real x:

  1. A > 0 (upward-opening parabola)
  2. B² - 4AC < 0 (no real roots, so the parabola stays entirely above the x-axis)

Example Checks

  • Good: f(x) = 2x² + 3x + 2 → A=2>0, Δ=9 - 16 = -7 < 0 → always positive.
  • Bad (downward opening): f(x) = -x² + 2x + 3 → A=-1<0 → will go to negative infinity.
  • Bad (touches x-axis): f(x) = x² - 4x + 4 → Δ=16-16=0 → equals zero at x=2, not strictly positive.

If you're working this into a specific physics problem, feel free to share the context—I can help tie these math rules to the physical meaning!

内容的提问来源于stack exchange,提问作者therealyubraj

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 08:33:32