Too much spacing in f(x)?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
When I enter f(x) in Mathematica, the f(x) appears as f (x). There's too much space between f and (x). How do I enter f(x)? For eg) ab appears normal in Mathematica but when I enter f(x) there's extra space between f and (x).
notebooks
 |Â
show 1 more comment
up vote
1
down vote
favorite
When I enter f(x) in Mathematica, the f(x) appears as f (x). There's too much space between f and (x). How do I enter f(x)? For eg) ab appears normal in Mathematica but when I enter f(x) there's extra space between f and (x).
notebooks
3
Mathematica uses square brackets instead of parentheses for functions. Tryf[x]rather thanf(x).
â JimB
Aug 23 at 4:30
I'm practicing maths on my computer so the symbols need to be same.
â user2134128
Aug 23 at 4:33
8
If you're practicing formatting mathematical statements, Mathematica may not be the best tool for that. Maybe try LaTeX or a similar system, such as LibreOffice's mathematical formula editor. Mathematica needs to adhere to certain conventions to be usable as a language, and one of these conventions is that functions are writtenf[x]. This is because Mathematica allows and intends forf(x)to be interpreted asf * x, which is where the extra space comes from.
â eyorble
Aug 23 at 4:48
The spacing will be fine as long as you make sure you're entering the expression inTraditionalForm. You can do this in an ordinary input cell by following the steps I described in this answer. But you have to distinguish between input cells and mathematical typesetting. If you want solely the latter, it would be better to choose an appropriate cell style from theFormatmenu first.
â Jens
Aug 23 at 6:04
1
Do note thatabin Mathematica is interpreted as a single symbol, not $atimes b$.
â user202729
Aug 23 at 8:58
 |Â
show 1 more comment
up vote
1
down vote
favorite
up vote
1
down vote
favorite
When I enter f(x) in Mathematica, the f(x) appears as f (x). There's too much space between f and (x). How do I enter f(x)? For eg) ab appears normal in Mathematica but when I enter f(x) there's extra space between f and (x).
notebooks
When I enter f(x) in Mathematica, the f(x) appears as f (x). There's too much space between f and (x). How do I enter f(x)? For eg) ab appears normal in Mathematica but when I enter f(x) there's extra space between f and (x).
notebooks
edited Aug 23 at 5:24
David G. Stork
21.3k11646
21.3k11646
asked Aug 23 at 4:25
user2134128
163
163
3
Mathematica uses square brackets instead of parentheses for functions. Tryf[x]rather thanf(x).
â JimB
Aug 23 at 4:30
I'm practicing maths on my computer so the symbols need to be same.
â user2134128
Aug 23 at 4:33
8
If you're practicing formatting mathematical statements, Mathematica may not be the best tool for that. Maybe try LaTeX or a similar system, such as LibreOffice's mathematical formula editor. Mathematica needs to adhere to certain conventions to be usable as a language, and one of these conventions is that functions are writtenf[x]. This is because Mathematica allows and intends forf(x)to be interpreted asf * x, which is where the extra space comes from.
â eyorble
Aug 23 at 4:48
The spacing will be fine as long as you make sure you're entering the expression inTraditionalForm. You can do this in an ordinary input cell by following the steps I described in this answer. But you have to distinguish between input cells and mathematical typesetting. If you want solely the latter, it would be better to choose an appropriate cell style from theFormatmenu first.
â Jens
Aug 23 at 6:04
1
Do note thatabin Mathematica is interpreted as a single symbol, not $atimes b$.
â user202729
Aug 23 at 8:58
 |Â
show 1 more comment
3
Mathematica uses square brackets instead of parentheses for functions. Tryf[x]rather thanf(x).
â JimB
Aug 23 at 4:30
I'm practicing maths on my computer so the symbols need to be same.
â user2134128
Aug 23 at 4:33
8
If you're practicing formatting mathematical statements, Mathematica may not be the best tool for that. Maybe try LaTeX or a similar system, such as LibreOffice's mathematical formula editor. Mathematica needs to adhere to certain conventions to be usable as a language, and one of these conventions is that functions are writtenf[x]. This is because Mathematica allows and intends forf(x)to be interpreted asf * x, which is where the extra space comes from.
â eyorble
Aug 23 at 4:48
The spacing will be fine as long as you make sure you're entering the expression inTraditionalForm. You can do this in an ordinary input cell by following the steps I described in this answer. But you have to distinguish between input cells and mathematical typesetting. If you want solely the latter, it would be better to choose an appropriate cell style from theFormatmenu first.
â Jens
Aug 23 at 6:04
1
Do note thatabin Mathematica is interpreted as a single symbol, not $atimes b$.
â user202729
Aug 23 at 8:58
3
3
Mathematica uses square brackets instead of parentheses for functions. Try
f[x] rather than f(x).â JimB
Aug 23 at 4:30
Mathematica uses square brackets instead of parentheses for functions. Try
f[x] rather than f(x).â JimB
Aug 23 at 4:30
I'm practicing maths on my computer so the symbols need to be same.
â user2134128
Aug 23 at 4:33
I'm practicing maths on my computer so the symbols need to be same.
â user2134128
Aug 23 at 4:33
8
8
If you're practicing formatting mathematical statements, Mathematica may not be the best tool for that. Maybe try LaTeX or a similar system, such as LibreOffice's mathematical formula editor. Mathematica needs to adhere to certain conventions to be usable as a language, and one of these conventions is that functions are written
f[x]. This is because Mathematica allows and intends for f(x) to be interpreted as f * x, which is where the extra space comes from.â eyorble
Aug 23 at 4:48
If you're practicing formatting mathematical statements, Mathematica may not be the best tool for that. Maybe try LaTeX or a similar system, such as LibreOffice's mathematical formula editor. Mathematica needs to adhere to certain conventions to be usable as a language, and one of these conventions is that functions are written
f[x]. This is because Mathematica allows and intends for f(x) to be interpreted as f * x, which is where the extra space comes from.â eyorble
Aug 23 at 4:48
The spacing will be fine as long as you make sure you're entering the expression in
TraditionalForm. You can do this in an ordinary input cell by following the steps I described in this answer. But you have to distinguish between input cells and mathematical typesetting. If you want solely the latter, it would be better to choose an appropriate cell style from the Format menu first.â Jens
Aug 23 at 6:04
The spacing will be fine as long as you make sure you're entering the expression in
TraditionalForm. You can do this in an ordinary input cell by following the steps I described in this answer. But you have to distinguish between input cells and mathematical typesetting. If you want solely the latter, it would be better to choose an appropriate cell style from the Format menu first.â Jens
Aug 23 at 6:04
1
1
Do note that
ab in Mathematica is interpreted as a single symbol, not $atimes b$.â user202729
Aug 23 at 8:58
Do note that
ab in Mathematica is interpreted as a single symbol, not $atimes b$.â user202729
Aug 23 at 8:58
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
11
down vote
You can use f(x) in Mathematica. These are the steps. Open preferences, and look for CommonDefaultFormatTypes then change the Input and Output to TraditionalFormat, like this



Now you can write
Plot(sin(x),x,-Pi,Pi)
and
f(x_) := x^2;
Plot(f(x), x, 0, 2)
and it work

You'll get this message from Mathematica first time

You can click Always so it do not show again.
I would not use this method as it can cause problems as the message above says, but it is something you can try if you want to enter math as traditional format.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
11
down vote
You can use f(x) in Mathematica. These are the steps. Open preferences, and look for CommonDefaultFormatTypes then change the Input and Output to TraditionalFormat, like this



Now you can write
Plot(sin(x),x,-Pi,Pi)
and
f(x_) := x^2;
Plot(f(x), x, 0, 2)
and it work

You'll get this message from Mathematica first time

You can click Always so it do not show again.
I would not use this method as it can cause problems as the message above says, but it is something you can try if you want to enter math as traditional format.
add a comment |Â
up vote
11
down vote
You can use f(x) in Mathematica. These are the steps. Open preferences, and look for CommonDefaultFormatTypes then change the Input and Output to TraditionalFormat, like this



Now you can write
Plot(sin(x),x,-Pi,Pi)
and
f(x_) := x^2;
Plot(f(x), x, 0, 2)
and it work

You'll get this message from Mathematica first time

You can click Always so it do not show again.
I would not use this method as it can cause problems as the message above says, but it is something you can try if you want to enter math as traditional format.
add a comment |Â
up vote
11
down vote
up vote
11
down vote
You can use f(x) in Mathematica. These are the steps. Open preferences, and look for CommonDefaultFormatTypes then change the Input and Output to TraditionalFormat, like this



Now you can write
Plot(sin(x),x,-Pi,Pi)
and
f(x_) := x^2;
Plot(f(x), x, 0, 2)
and it work

You'll get this message from Mathematica first time

You can click Always so it do not show again.
I would not use this method as it can cause problems as the message above says, but it is something you can try if you want to enter math as traditional format.
You can use f(x) in Mathematica. These are the steps. Open preferences, and look for CommonDefaultFormatTypes then change the Input and Output to TraditionalFormat, like this



Now you can write
Plot(sin(x),x,-Pi,Pi)
and
f(x_) := x^2;
Plot(f(x), x, 0, 2)
and it work

You'll get this message from Mathematica first time

You can click Always so it do not show again.
I would not use this method as it can cause problems as the message above says, but it is something you can try if you want to enter math as traditional format.
answered Aug 23 at 4:53
Nasser
56.5k484203
56.5k484203
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f180480%2ftoo-much-spacing-in-fx%23new-answer', 'question_page');
);
Post as a guest
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
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
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
3
Mathematica uses square brackets instead of parentheses for functions. Try
f[x]rather thanf(x).â JimB
Aug 23 at 4:30
I'm practicing maths on my computer so the symbols need to be same.
â user2134128
Aug 23 at 4:33
8
If you're practicing formatting mathematical statements, Mathematica may not be the best tool for that. Maybe try LaTeX or a similar system, such as LibreOffice's mathematical formula editor. Mathematica needs to adhere to certain conventions to be usable as a language, and one of these conventions is that functions are written
f[x]. This is because Mathematica allows and intends forf(x)to be interpreted asf * x, which is where the extra space comes from.â eyorble
Aug 23 at 4:48
The spacing will be fine as long as you make sure you're entering the expression in
TraditionalForm. You can do this in an ordinary input cell by following the steps I described in this answer. But you have to distinguish between input cells and mathematical typesetting. If you want solely the latter, it would be better to choose an appropriate cell style from theFormatmenu first.â Jens
Aug 23 at 6:04
1
Do note that
abin Mathematica is interpreted as a single symbol, not $atimes b$.â user202729
Aug 23 at 8:58