|x-5|-1=a (уравнение)

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

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

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

[, ]

    Найду корень уравнения: |x-5|-1=a

    Решение

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

    1.
    x50x - 5 \geq 0
    или
    5xx<5 \leq x \wedge x < \infty
    получаем ур-ние
    a+(x5)1=0- a + \left(x - 5\right) - 1 = 0
    упрощаем, получаем
    a+x6=0- a + x - 6 = 0
    решение на этом интервале:
    x1=a+6x_{1} = a + 6

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


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