(|x-4|)=3-a (уравнение)

Учитель очень удивится увидев твоё верное решение 😼

Неизвестное в уравнении :

Искать численное решение на промежутке:

[, ]

    Найду корень уравнения: (|x-4|)=3-a

    Решение

    Вы ввели [src]
    |x - 4| = 3 - a
    x4=3a\left|{x - 4}\right| = 3 - a
    Подробное решение
    Для каждого выражения под модулем в ур-нии
    допускаем случаи, когда соотв. выражение ">= 0" или "< 0",
    решаем получившиеся ур-ния.

    1.
    x40x - 4 \geq 0
    или
    4xx<4 \leq x \wedge x < \infty
    получаем ур-ние
    a+(x4)3=0a + \left(x - 4\right) - 3 = 0
    упрощаем, получаем
    a+x7=0a + x - 7 = 0
    решение на этом интервале:
    x1=7ax_{1} = 7 - a

    2.
    x4<0x - 4 < 0
    или
    <xx<4-\infty < x \wedge x < 4
    получаем ур-ние
    a+(4x)3=0a + \left(4 - x\right) - 3 = 0
    упрощаем, получаем
    ax+1=0a - x + 1 = 0
    решение на этом интервале:
    x2=a+1x_{2} = a + 1


    Тогда, окончательный ответ:
    x1=7ax_{1} = 7 - a
    x2=a+1x_{2} = a + 1
    График
    Быстрый ответ [src]
             //7 - a  for a <= 3\     //7 - a  for a <= 3\
    x1 = I*im|<                 | + re|<                 |
             \\ nan   otherwise /     \\ nan   otherwise /
    x1=re({7afora3NaNotherwise)+iim({7afora3NaNotherwise)x_{1} = \operatorname{re}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}
             //1 + a  for a < 3\     //1 + a  for a < 3\
    x2 = I*im|<                | + re|<                |
             \\ nan   otherwise/     \\ nan   otherwise/
    x2=re({a+1fora<3NaNotherwise)+iim({a+1fora<3NaNotherwise)x_{2} = \operatorname{re}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}
    Сумма и произведение корней [src]
    сумма
        //7 - a  for a <= 3\     //7 - a  for a <= 3\       //1 + a  for a < 3\     //1 + a  for a < 3\
    I*im|<                 | + re|<                 | + I*im|<                | + re|<                |
        \\ nan   otherwise /     \\ nan   otherwise /       \\ nan   otherwise/     \\ nan   otherwise/
    (re({7afora3NaNotherwise)+iim({7afora3NaNotherwise))+(re({a+1fora<3NaNotherwise)+iim({a+1fora<3NaNotherwise))\left(\operatorname{re}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}\right) + \left(\operatorname{re}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}\right)
    =
        //1 + a  for a < 3\       //7 - a  for a <= 3\     //1 + a  for a < 3\     //7 - a  for a <= 3\
    I*im|<                | + I*im|<                 | + re|<                | + re|<                 |
        \\ nan   otherwise/       \\ nan   otherwise /     \\ nan   otherwise/     \\ nan   otherwise /
    re({7afora3NaNotherwise)+re({a+1fora<3NaNotherwise)+iim({7afora3NaNotherwise)+iim({a+1fora<3NaNotherwise)\operatorname{re}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + \operatorname{re}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}
    произведение
    /    //7 - a  for a <= 3\     //7 - a  for a <= 3\\ /    //1 + a  for a < 3\     //1 + a  for a < 3\\
    |I*im|<                 | + re|<                 ||*|I*im|<                | + re|<                ||
    \    \\ nan   otherwise /     \\ nan   otherwise // \    \\ nan   otherwise/     \\ nan   otherwise//
    (re({7afora3NaNotherwise)+iim({7afora3NaNotherwise))(re({a+1fora<3NaNotherwise)+iim({a+1fora<3NaNotherwise))\left(\operatorname{re}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} 7 - a & \text{for}\: a \leq 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}\right) \left(\operatorname{re}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)} + i \operatorname{im}{\left(\begin{cases} a + 1 & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}\right)}\right)
    =
    /-(1 + I*im(a) + re(a))*(-7 + I*im(a) + re(a))  for a < 3
    <                                                        
    \                     nan                       otherwise
    {(re(a)+iim(a)7)(re(a)+iim(a)+1)fora<3NaNotherwise\begin{cases} - \left(\operatorname{re}{\left(a\right)} + i \operatorname{im}{\left(a\right)} - 7\right) \left(\operatorname{re}{\left(a\right)} + i \operatorname{im}{\left(a\right)} + 1\right) & \text{for}\: a < 3 \\\text{NaN} & \text{otherwise} \end{cases}