What's the difference between $f(x)=sqrt{x^2+9}$ and $k(x^2+9)=sqrt{x^2+9}$?
$begingroup$
Let's say we 've got a function $f(x)=sqrt{x^2+9}$, which is a composite function. $f(x)=sqrt{g(x)}$ and $g(x)=x^2+9$.
When we have a function like $h(x)=x$, we are allowed to set $x$ to $x+9$ and have $h(x+9)=x+9$.
So why do we need $g(x)$ and can't just set $x=x^2+9$, which with a function like $k(x)=sqrt{x}$ leads to $k(x^2+9)=sqrt{x^2+9}$ (same as f(x) above)?
Where's the difference between these two ($f(x),k(x)$)? Is $x^2+9$ even a valid argument for $k(x)$?
functions
$endgroup$
add a comment |
$begingroup$
Let's say we 've got a function $f(x)=sqrt{x^2+9}$, which is a composite function. $f(x)=sqrt{g(x)}$ and $g(x)=x^2+9$.
When we have a function like $h(x)=x$, we are allowed to set $x$ to $x+9$ and have $h(x+9)=x+9$.
So why do we need $g(x)$ and can't just set $x=x^2+9$, which with a function like $k(x)=sqrt{x}$ leads to $k(x^2+9)=sqrt{x^2+9}$ (same as f(x) above)?
Where's the difference between these two ($f(x),k(x)$)? Is $x^2+9$ even a valid argument for $k(x)$?
functions
$endgroup$
$begingroup$
Function composition is not unique. Another could be $f(x)=sqrt{x+9}, g(x)=x^2$.
$endgroup$
– Eleven-Eleven
Nov 30 '18 at 19:09
add a comment |
$begingroup$
Let's say we 've got a function $f(x)=sqrt{x^2+9}$, which is a composite function. $f(x)=sqrt{g(x)}$ and $g(x)=x^2+9$.
When we have a function like $h(x)=x$, we are allowed to set $x$ to $x+9$ and have $h(x+9)=x+9$.
So why do we need $g(x)$ and can't just set $x=x^2+9$, which with a function like $k(x)=sqrt{x}$ leads to $k(x^2+9)=sqrt{x^2+9}$ (same as f(x) above)?
Where's the difference between these two ($f(x),k(x)$)? Is $x^2+9$ even a valid argument for $k(x)$?
functions
$endgroup$
Let's say we 've got a function $f(x)=sqrt{x^2+9}$, which is a composite function. $f(x)=sqrt{g(x)}$ and $g(x)=x^2+9$.
When we have a function like $h(x)=x$, we are allowed to set $x$ to $x+9$ and have $h(x+9)=x+9$.
So why do we need $g(x)$ and can't just set $x=x^2+9$, which with a function like $k(x)=sqrt{x}$ leads to $k(x^2+9)=sqrt{x^2+9}$ (same as f(x) above)?
Where's the difference between these two ($f(x),k(x)$)? Is $x^2+9$ even a valid argument for $k(x)$?
functions
functions
edited Dec 1 '18 at 8:19
yot
asked Nov 30 '18 at 18:57
yotyot
285
285
$begingroup$
Function composition is not unique. Another could be $f(x)=sqrt{x+9}, g(x)=x^2$.
$endgroup$
– Eleven-Eleven
Nov 30 '18 at 19:09
add a comment |
$begingroup$
Function composition is not unique. Another could be $f(x)=sqrt{x+9}, g(x)=x^2$.
$endgroup$
– Eleven-Eleven
Nov 30 '18 at 19:09
$begingroup$
Function composition is not unique. Another could be $f(x)=sqrt{x+9}, g(x)=x^2$.
$endgroup$
– Eleven-Eleven
Nov 30 '18 at 19:09
$begingroup$
Function composition is not unique. Another could be $f(x)=sqrt{x+9}, g(x)=x^2$.
$endgroup$
– Eleven-Eleven
Nov 30 '18 at 19:09
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
A function is a mapping from elements of a domain set to elements of a range set (also called the "codomain"). Let's consider your example of $k(x) = sqrt{x}$. This actually is an incomplete definition of a function; you also need to specify the domain and range. So suppose $k$ takes nonnegative real numbers to nonnegative real numbers.
Then when we take the function $g(x) = x^2+9$, we again have to specify the domain and range. So let's say $g$ takes real numbers to real numbers greater than or equal to 9.
Now consider the composition $f(x) = k(g(x))$. The equation is $sqrt{x^2+9}$. But now the domain and range have changed a bit from the original $k$ or $g$. In particular, now the domain is all real numbers, and the range is real numbers greater than or equal to 3. So there is a subtle difference between the functions $f(x)$ and $k(x)$. It's important to keep the domain and range/codomain in mind whenever you do function composition.
Now to address your confusion regarding how we are "allowed" to set $x = x^2+9$ and write $k(x^2+9) = sqrt{x^2+9}$. Again, think about a function as taking inputs to outputs. So when you write $k(x^2+9) = sqrt{x^2+9}$, what you're saying is that given a number $x$, $k$ maps the number $x^2+9$ to $sqrt{x^2+9}$. This is really just a variable substitution. There is nothing wrong with writing down $k(x^2+9)$, or $k(e^x)$; just like with $k(2)$ or $k(pi)$, it represents passing some value into the function $k$.
Hopefully that addresses your questions, and let me know in the comments if I can clarify further!
$endgroup$
add a comment |
$begingroup$
$f(y)$ is a function which maps $y$ to $sqrt{y^2+9}$, and you've fed $y=x$ into it to get your first function.
$k(y)$ is a function which maps $y$ to $sqrt y$, and you've fed $y=x^2+9$ into it to get your second function.
$endgroup$
add a comment |
Your Answer
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%2f3020494%2fwhats-the-difference-between-fx-sqrtx29-and-kx29-sqrtx29%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
A function is a mapping from elements of a domain set to elements of a range set (also called the "codomain"). Let's consider your example of $k(x) = sqrt{x}$. This actually is an incomplete definition of a function; you also need to specify the domain and range. So suppose $k$ takes nonnegative real numbers to nonnegative real numbers.
Then when we take the function $g(x) = x^2+9$, we again have to specify the domain and range. So let's say $g$ takes real numbers to real numbers greater than or equal to 9.
Now consider the composition $f(x) = k(g(x))$. The equation is $sqrt{x^2+9}$. But now the domain and range have changed a bit from the original $k$ or $g$. In particular, now the domain is all real numbers, and the range is real numbers greater than or equal to 3. So there is a subtle difference between the functions $f(x)$ and $k(x)$. It's important to keep the domain and range/codomain in mind whenever you do function composition.
Now to address your confusion regarding how we are "allowed" to set $x = x^2+9$ and write $k(x^2+9) = sqrt{x^2+9}$. Again, think about a function as taking inputs to outputs. So when you write $k(x^2+9) = sqrt{x^2+9}$, what you're saying is that given a number $x$, $k$ maps the number $x^2+9$ to $sqrt{x^2+9}$. This is really just a variable substitution. There is nothing wrong with writing down $k(x^2+9)$, or $k(e^x)$; just like with $k(2)$ or $k(pi)$, it represents passing some value into the function $k$.
Hopefully that addresses your questions, and let me know in the comments if I can clarify further!
$endgroup$
add a comment |
$begingroup$
A function is a mapping from elements of a domain set to elements of a range set (also called the "codomain"). Let's consider your example of $k(x) = sqrt{x}$. This actually is an incomplete definition of a function; you also need to specify the domain and range. So suppose $k$ takes nonnegative real numbers to nonnegative real numbers.
Then when we take the function $g(x) = x^2+9$, we again have to specify the domain and range. So let's say $g$ takes real numbers to real numbers greater than or equal to 9.
Now consider the composition $f(x) = k(g(x))$. The equation is $sqrt{x^2+9}$. But now the domain and range have changed a bit from the original $k$ or $g$. In particular, now the domain is all real numbers, and the range is real numbers greater than or equal to 3. So there is a subtle difference between the functions $f(x)$ and $k(x)$. It's important to keep the domain and range/codomain in mind whenever you do function composition.
Now to address your confusion regarding how we are "allowed" to set $x = x^2+9$ and write $k(x^2+9) = sqrt{x^2+9}$. Again, think about a function as taking inputs to outputs. So when you write $k(x^2+9) = sqrt{x^2+9}$, what you're saying is that given a number $x$, $k$ maps the number $x^2+9$ to $sqrt{x^2+9}$. This is really just a variable substitution. There is nothing wrong with writing down $k(x^2+9)$, or $k(e^x)$; just like with $k(2)$ or $k(pi)$, it represents passing some value into the function $k$.
Hopefully that addresses your questions, and let me know in the comments if I can clarify further!
$endgroup$
add a comment |
$begingroup$
A function is a mapping from elements of a domain set to elements of a range set (also called the "codomain"). Let's consider your example of $k(x) = sqrt{x}$. This actually is an incomplete definition of a function; you also need to specify the domain and range. So suppose $k$ takes nonnegative real numbers to nonnegative real numbers.
Then when we take the function $g(x) = x^2+9$, we again have to specify the domain and range. So let's say $g$ takes real numbers to real numbers greater than or equal to 9.
Now consider the composition $f(x) = k(g(x))$. The equation is $sqrt{x^2+9}$. But now the domain and range have changed a bit from the original $k$ or $g$. In particular, now the domain is all real numbers, and the range is real numbers greater than or equal to 3. So there is a subtle difference between the functions $f(x)$ and $k(x)$. It's important to keep the domain and range/codomain in mind whenever you do function composition.
Now to address your confusion regarding how we are "allowed" to set $x = x^2+9$ and write $k(x^2+9) = sqrt{x^2+9}$. Again, think about a function as taking inputs to outputs. So when you write $k(x^2+9) = sqrt{x^2+9}$, what you're saying is that given a number $x$, $k$ maps the number $x^2+9$ to $sqrt{x^2+9}$. This is really just a variable substitution. There is nothing wrong with writing down $k(x^2+9)$, or $k(e^x)$; just like with $k(2)$ or $k(pi)$, it represents passing some value into the function $k$.
Hopefully that addresses your questions, and let me know in the comments if I can clarify further!
$endgroup$
A function is a mapping from elements of a domain set to elements of a range set (also called the "codomain"). Let's consider your example of $k(x) = sqrt{x}$. This actually is an incomplete definition of a function; you also need to specify the domain and range. So suppose $k$ takes nonnegative real numbers to nonnegative real numbers.
Then when we take the function $g(x) = x^2+9$, we again have to specify the domain and range. So let's say $g$ takes real numbers to real numbers greater than or equal to 9.
Now consider the composition $f(x) = k(g(x))$. The equation is $sqrt{x^2+9}$. But now the domain and range have changed a bit from the original $k$ or $g$. In particular, now the domain is all real numbers, and the range is real numbers greater than or equal to 3. So there is a subtle difference between the functions $f(x)$ and $k(x)$. It's important to keep the domain and range/codomain in mind whenever you do function composition.
Now to address your confusion regarding how we are "allowed" to set $x = x^2+9$ and write $k(x^2+9) = sqrt{x^2+9}$. Again, think about a function as taking inputs to outputs. So when you write $k(x^2+9) = sqrt{x^2+9}$, what you're saying is that given a number $x$, $k$ maps the number $x^2+9$ to $sqrt{x^2+9}$. This is really just a variable substitution. There is nothing wrong with writing down $k(x^2+9)$, or $k(e^x)$; just like with $k(2)$ or $k(pi)$, it represents passing some value into the function $k$.
Hopefully that addresses your questions, and let me know in the comments if I can clarify further!
edited Nov 30 '18 at 19:26
answered Nov 30 '18 at 19:20
fractal1729fractal1729
1,387213
1,387213
add a comment |
add a comment |
$begingroup$
$f(y)$ is a function which maps $y$ to $sqrt{y^2+9}$, and you've fed $y=x$ into it to get your first function.
$k(y)$ is a function which maps $y$ to $sqrt y$, and you've fed $y=x^2+9$ into it to get your second function.
$endgroup$
add a comment |
$begingroup$
$f(y)$ is a function which maps $y$ to $sqrt{y^2+9}$, and you've fed $y=x$ into it to get your first function.
$k(y)$ is a function which maps $y$ to $sqrt y$, and you've fed $y=x^2+9$ into it to get your second function.
$endgroup$
add a comment |
$begingroup$
$f(y)$ is a function which maps $y$ to $sqrt{y^2+9}$, and you've fed $y=x$ into it to get your first function.
$k(y)$ is a function which maps $y$ to $sqrt y$, and you've fed $y=x^2+9$ into it to get your second function.
$endgroup$
$f(y)$ is a function which maps $y$ to $sqrt{y^2+9}$, and you've fed $y=x$ into it to get your first function.
$k(y)$ is a function which maps $y$ to $sqrt y$, and you've fed $y=x^2+9$ into it to get your second function.
answered Nov 30 '18 at 21:23
timtfjtimtfj
1,183318
1,183318
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%2f3020494%2fwhats-the-difference-between-fx-sqrtx29-and-kx29-sqrtx29%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
$begingroup$
Function composition is not unique. Another could be $f(x)=sqrt{x+9}, g(x)=x^2$.
$endgroup$
– Eleven-Eleven
Nov 30 '18 at 19:09