How does this equation always work? $sqrt{x times (x+2)+1} = x + 1$ for non-negative $x$, and $=|x|-1$ for...
$begingroup$
When I was playing with new calculator's functions, somehow I managed to get a formula, which works with all real numbers (negative number have a slight change). I had asked my teacher about it, but never figured out why it works:
Non-Negative:
$$forall x in Bbb R_0^+: sqrt{x times (x+2)+1} = x + 1$$
Negative:
$$forall x in Bbb R^-: sqrt{x times (x+2)+1} = |x| - 1$$
algebra-precalculus
$endgroup$
add a comment |
$begingroup$
When I was playing with new calculator's functions, somehow I managed to get a formula, which works with all real numbers (negative number have a slight change). I had asked my teacher about it, but never figured out why it works:
Non-Negative:
$$forall x in Bbb R_0^+: sqrt{x times (x+2)+1} = x + 1$$
Negative:
$$forall x in Bbb R^-: sqrt{x times (x+2)+1} = |x| - 1$$
algebra-precalculus
$endgroup$
2
$begingroup$
$x(x+2)+1=x^2+2x+1=(x+1)^2$.
$endgroup$
– A.Γ.
Jan 2 at 22:27
1
$begingroup$
Your second formula is not true for $x=-1/2$.
$endgroup$
– farruhota
Jan 2 at 22:34
$begingroup$
Check your edited second equation. Are you sure it works for $-1 < x < 0$?
$endgroup$
– Deepak
Jan 2 at 22:37
add a comment |
$begingroup$
When I was playing with new calculator's functions, somehow I managed to get a formula, which works with all real numbers (negative number have a slight change). I had asked my teacher about it, but never figured out why it works:
Non-Negative:
$$forall x in Bbb R_0^+: sqrt{x times (x+2)+1} = x + 1$$
Negative:
$$forall x in Bbb R^-: sqrt{x times (x+2)+1} = |x| - 1$$
algebra-precalculus
$endgroup$
When I was playing with new calculator's functions, somehow I managed to get a formula, which works with all real numbers (negative number have a slight change). I had asked my teacher about it, but never figured out why it works:
Non-Negative:
$$forall x in Bbb R_0^+: sqrt{x times (x+2)+1} = x + 1$$
Negative:
$$forall x in Bbb R^-: sqrt{x times (x+2)+1} = |x| - 1$$
algebra-precalculus
algebra-precalculus
edited Jan 2 at 22:48
Blue
49.3k870157
49.3k870157
asked Jan 2 at 22:25
Dia. FrostDia. Frost
213
213
2
$begingroup$
$x(x+2)+1=x^2+2x+1=(x+1)^2$.
$endgroup$
– A.Γ.
Jan 2 at 22:27
1
$begingroup$
Your second formula is not true for $x=-1/2$.
$endgroup$
– farruhota
Jan 2 at 22:34
$begingroup$
Check your edited second equation. Are you sure it works for $-1 < x < 0$?
$endgroup$
– Deepak
Jan 2 at 22:37
add a comment |
2
$begingroup$
$x(x+2)+1=x^2+2x+1=(x+1)^2$.
$endgroup$
– A.Γ.
Jan 2 at 22:27
1
$begingroup$
Your second formula is not true for $x=-1/2$.
$endgroup$
– farruhota
Jan 2 at 22:34
$begingroup$
Check your edited second equation. Are you sure it works for $-1 < x < 0$?
$endgroup$
– Deepak
Jan 2 at 22:37
2
2
$begingroup$
$x(x+2)+1=x^2+2x+1=(x+1)^2$.
$endgroup$
– A.Γ.
Jan 2 at 22:27
$begingroup$
$x(x+2)+1=x^2+2x+1=(x+1)^2$.
$endgroup$
– A.Γ.
Jan 2 at 22:27
1
1
$begingroup$
Your second formula is not true for $x=-1/2$.
$endgroup$
– farruhota
Jan 2 at 22:34
$begingroup$
Your second formula is not true for $x=-1/2$.
$endgroup$
– farruhota
Jan 2 at 22:34
$begingroup$
Check your edited second equation. Are you sure it works for $-1 < x < 0$?
$endgroup$
– Deepak
Jan 2 at 22:37
$begingroup$
Check your edited second equation. Are you sure it works for $-1 < x < 0$?
$endgroup$
– Deepak
Jan 2 at 22:37
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Remark that $x cdot (x+2) + 1 = x^2 + 2x + 1 = (x+1)^2$, so:
$$
sqrt{x cdot (x+2) + 1} = sqrt{(x+1)^2} = |x+1|
$$
You may also note that:
- For $x geq -1$, we have $|x+1| = x+1$
- For $x leq -1$, we have $|x+1| = -(x+1) = -x-1 = |x|-1$ (since $x<0$)
This shows why your formula works in the ranges it does. Note, though, that your ranges aren't quite right: for $x$ in $[-1,0]$, your first formula applies (try for example with $x=-1/2$: you get $1/2$, not $-1/2$).
$endgroup$
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
1
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
add a comment |
$begingroup$
The right calculation is the follows:$$sqrt{(x+1)^2}=|x+1|$$
$endgroup$
add a comment |
$begingroup$
Note that you have a perfect square trinomial.
$$x(x+2)+1 = x^2+2x+1$$
You probably know that by binomial expansion, $(apm b)^2 = a^2pm 2ab+b^2$.
$$(apm b)^2 = (apm b)(apm b) = a^2pm abpm ba +b^2 = a^2pm2ab+b^2$$
Notice the trinomial $x^2+2x+1$. You can see there are two perfect squares: $x^2$ and $1$. Also, the middle term is twice the product of their squares. Hence, the trinomial is of the form $a^2+2ab+b^2$. Factoring, you get
$$x^2+2(x)(1)+1^2 = (x+1)^2$$
So you have$sqrt{(x+1)^2}$. You also have $sqrt{a^2} = vert avert$, so
$$sqrt{(x+1)^2} = vert x+1vert = begin{cases} x+1; quad x geq -1 \ -x-1 = vert xvert-1; quad x < -1end{cases}$$
$endgroup$
add a comment |
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3060045%2fhow-does-this-equation-always-work-sqrtx-times-x21-x-1-for-non-ne%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Remark that $x cdot (x+2) + 1 = x^2 + 2x + 1 = (x+1)^2$, so:
$$
sqrt{x cdot (x+2) + 1} = sqrt{(x+1)^2} = |x+1|
$$
You may also note that:
- For $x geq -1$, we have $|x+1| = x+1$
- For $x leq -1$, we have $|x+1| = -(x+1) = -x-1 = |x|-1$ (since $x<0$)
This shows why your formula works in the ranges it does. Note, though, that your ranges aren't quite right: for $x$ in $[-1,0]$, your first formula applies (try for example with $x=-1/2$: you get $1/2$, not $-1/2$).
$endgroup$
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
1
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
add a comment |
$begingroup$
Remark that $x cdot (x+2) + 1 = x^2 + 2x + 1 = (x+1)^2$, so:
$$
sqrt{x cdot (x+2) + 1} = sqrt{(x+1)^2} = |x+1|
$$
You may also note that:
- For $x geq -1$, we have $|x+1| = x+1$
- For $x leq -1$, we have $|x+1| = -(x+1) = -x-1 = |x|-1$ (since $x<0$)
This shows why your formula works in the ranges it does. Note, though, that your ranges aren't quite right: for $x$ in $[-1,0]$, your first formula applies (try for example with $x=-1/2$: you get $1/2$, not $-1/2$).
$endgroup$
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
1
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
add a comment |
$begingroup$
Remark that $x cdot (x+2) + 1 = x^2 + 2x + 1 = (x+1)^2$, so:
$$
sqrt{x cdot (x+2) + 1} = sqrt{(x+1)^2} = |x+1|
$$
You may also note that:
- For $x geq -1$, we have $|x+1| = x+1$
- For $x leq -1$, we have $|x+1| = -(x+1) = -x-1 = |x|-1$ (since $x<0$)
This shows why your formula works in the ranges it does. Note, though, that your ranges aren't quite right: for $x$ in $[-1,0]$, your first formula applies (try for example with $x=-1/2$: you get $1/2$, not $-1/2$).
$endgroup$
Remark that $x cdot (x+2) + 1 = x^2 + 2x + 1 = (x+1)^2$, so:
$$
sqrt{x cdot (x+2) + 1} = sqrt{(x+1)^2} = |x+1|
$$
You may also note that:
- For $x geq -1$, we have $|x+1| = x+1$
- For $x leq -1$, we have $|x+1| = -(x+1) = -x-1 = |x|-1$ (since $x<0$)
This shows why your formula works in the ranges it does. Note, though, that your ranges aren't quite right: for $x$ in $[-1,0]$, your first formula applies (try for example with $x=-1/2$: you get $1/2$, not $-1/2$).
answered Jan 2 at 22:35
SamboSambo
2,3012532
2,3012532
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
1
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
add a comment |
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
1
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Would you mind, clarifying how I would denote the first formula with all real numbers from -0.999 (periodically) to positive infinity?
$endgroup$
– Dia. Frost
Jan 2 at 22:42
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
$begingroup$
Do you mean how to denote that range, i.e. as opposed to $mathbb{R}^+_0$?
$endgroup$
– Sambo
Jan 2 at 23:51
1
1
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
$begingroup$
Also, I hope you know that $-0.9999$ (periodically) equals (exactly) $-1$, and what you said is NOT how to denote the range $(-1,infty)$.
$endgroup$
– Sambo
Jan 2 at 23:52
add a comment |
$begingroup$
The right calculation is the follows:$$sqrt{(x+1)^2}=|x+1|$$
$endgroup$
add a comment |
$begingroup$
The right calculation is the follows:$$sqrt{(x+1)^2}=|x+1|$$
$endgroup$
add a comment |
$begingroup$
The right calculation is the follows:$$sqrt{(x+1)^2}=|x+1|$$
$endgroup$
The right calculation is the follows:$$sqrt{(x+1)^2}=|x+1|$$
answered Jan 2 at 22:27
Dr. Sonnhard GraubnerDr. Sonnhard Graubner
78.4k42867
78.4k42867
add a comment |
add a comment |
$begingroup$
Note that you have a perfect square trinomial.
$$x(x+2)+1 = x^2+2x+1$$
You probably know that by binomial expansion, $(apm b)^2 = a^2pm 2ab+b^2$.
$$(apm b)^2 = (apm b)(apm b) = a^2pm abpm ba +b^2 = a^2pm2ab+b^2$$
Notice the trinomial $x^2+2x+1$. You can see there are two perfect squares: $x^2$ and $1$. Also, the middle term is twice the product of their squares. Hence, the trinomial is of the form $a^2+2ab+b^2$. Factoring, you get
$$x^2+2(x)(1)+1^2 = (x+1)^2$$
So you have$sqrt{(x+1)^2}$. You also have $sqrt{a^2} = vert avert$, so
$$sqrt{(x+1)^2} = vert x+1vert = begin{cases} x+1; quad x geq -1 \ -x-1 = vert xvert-1; quad x < -1end{cases}$$
$endgroup$
add a comment |
$begingroup$
Note that you have a perfect square trinomial.
$$x(x+2)+1 = x^2+2x+1$$
You probably know that by binomial expansion, $(apm b)^2 = a^2pm 2ab+b^2$.
$$(apm b)^2 = (apm b)(apm b) = a^2pm abpm ba +b^2 = a^2pm2ab+b^2$$
Notice the trinomial $x^2+2x+1$. You can see there are two perfect squares: $x^2$ and $1$. Also, the middle term is twice the product of their squares. Hence, the trinomial is of the form $a^2+2ab+b^2$. Factoring, you get
$$x^2+2(x)(1)+1^2 = (x+1)^2$$
So you have$sqrt{(x+1)^2}$. You also have $sqrt{a^2} = vert avert$, so
$$sqrt{(x+1)^2} = vert x+1vert = begin{cases} x+1; quad x geq -1 \ -x-1 = vert xvert-1; quad x < -1end{cases}$$
$endgroup$
add a comment |
$begingroup$
Note that you have a perfect square trinomial.
$$x(x+2)+1 = x^2+2x+1$$
You probably know that by binomial expansion, $(apm b)^2 = a^2pm 2ab+b^2$.
$$(apm b)^2 = (apm b)(apm b) = a^2pm abpm ba +b^2 = a^2pm2ab+b^2$$
Notice the trinomial $x^2+2x+1$. You can see there are two perfect squares: $x^2$ and $1$. Also, the middle term is twice the product of their squares. Hence, the trinomial is of the form $a^2+2ab+b^2$. Factoring, you get
$$x^2+2(x)(1)+1^2 = (x+1)^2$$
So you have$sqrt{(x+1)^2}$. You also have $sqrt{a^2} = vert avert$, so
$$sqrt{(x+1)^2} = vert x+1vert = begin{cases} x+1; quad x geq -1 \ -x-1 = vert xvert-1; quad x < -1end{cases}$$
$endgroup$
Note that you have a perfect square trinomial.
$$x(x+2)+1 = x^2+2x+1$$
You probably know that by binomial expansion, $(apm b)^2 = a^2pm 2ab+b^2$.
$$(apm b)^2 = (apm b)(apm b) = a^2pm abpm ba +b^2 = a^2pm2ab+b^2$$
Notice the trinomial $x^2+2x+1$. You can see there are two perfect squares: $x^2$ and $1$. Also, the middle term is twice the product of their squares. Hence, the trinomial is of the form $a^2+2ab+b^2$. Factoring, you get
$$x^2+2(x)(1)+1^2 = (x+1)^2$$
So you have$sqrt{(x+1)^2}$. You also have $sqrt{a^2} = vert avert$, so
$$sqrt{(x+1)^2} = vert x+1vert = begin{cases} x+1; quad x geq -1 \ -x-1 = vert xvert-1; quad x < -1end{cases}$$
answered Jan 2 at 22:43
KM101KM101
6,0801525
6,0801525
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3060045%2fhow-does-this-equation-always-work-sqrtx-times-x21-x-1-for-non-ne%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
$begingroup$
$x(x+2)+1=x^2+2x+1=(x+1)^2$.
$endgroup$
– A.Γ.
Jan 2 at 22:27
1
$begingroup$
Your second formula is not true for $x=-1/2$.
$endgroup$
– farruhota
Jan 2 at 22:34
$begingroup$
Check your edited second equation. Are you sure it works for $-1 < x < 0$?
$endgroup$
– Deepak
Jan 2 at 22:37